import request from '@/config/axios'

export const getAgreementManageList = async (params) => {
  return await request.get({
    url: '/agreementManage/getPage',
    params
  })
}

export const exportAgreementExcel = async (params) => {
  return await request.download({
    url: '/agreementManage/exportAgreementExcel',
    params
  })
}

export const handleAgreement = async (data) => {
  return await request.put({
    url: '/agreementManage/handleAgreement',
    data
  })
}

export const getBySectionIds = async (params) => {
  return await request.get({
    url: '/sectionMessage/getBySectionIds',
    params
  })
}

export const getTransportAmount = async (params) => {
  return await request.post({
    url: '/pushMetering/getTransportAmount',
    params
  })
}
